<%@ page contentType="text/html;charset=UTF-8"%>
<%@ page import="java.io.*"%>
<%@ page import="java.sql.*"%>
<%@ page import="java.util.*"%>
<%@ page import="java.text.*"%>
<%@ page import="javax.sql.*"%>
<%@ page import="com.gzgi.framework.*"%>
<%@ page import="com.gzgi.framework.util.*"%>
<%@ page import="com.gzgi.framework.context.*"%>
<%@ page import="com.gzgi.framework.lob.*"%>
<%
		LobDataService lobDataService = (LobDataService) ContextFactory.getBean("lobDataService");
		ClobData clob = new ClobData();
		clob.setName("0123456789");
		clob.setData(UUID32.getUUID());
	    lobDataService.saveClob(clob);
		if(clob.getId() > 0){
               ClobData data = lobDataService.getClobData(clob.getId());
			   if(data != null && data.getData() != null){
				   out.println("data length:"+data.getData().length());
				   out.println("<br>data:"+data.getData());
			   }
		}
 %>